<template>
  <div class="content-wrapper">
    <!-- <div class="content-header"></div>
    <div class="title">
      <div>修订流程({{ this.title }})</div> -->
      <!-- <div class="input" v-if="documentCode">
        <i>文件编号:</i>
        <i>{{ this.documentCode }}</i>
      </div> -->
    <!-- </div> -->
    <!-- <el-divider></el-divider> -->
    <div class="content-container">
      <FlowData v-on:flowData="flowData" />
      <!-- <el-tab-pane label="工作流" name="flow_workflow">
          <FlowWorkflow /> -->
    </div>
  </div>
</template>

<script>
import FlowData from '@/views/flow/flow_modify/flow_data'
import FlowWorkflow from '@/views/flow/flow_modify/flow_workflow'
import '@/styles/flow.scss'

export default {
  components: {
    FlowData,
    FlowWorkflow
  },
  data() {
    return {
      activeName: 'flow_data',
      flowStatus: '',
      documentCode: '',
      title: ''
    }
  },
  mounted() {
  
  },
  methods: {
    flowData(data) {
      this.documentCode = data.documentCode
      this.flowStatus = data.flowStatus
      // this.title = this.flowStatusOptions[this.flowStatus - 1].label
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
